package com.eningqu.aipen.logic.model.write;

import com.google.gson.annotations.SerializedName;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Package:com.eningqu.aipen.logic.model.login
 * Author:starr
 * Time:2023/11/13 11:06
 * Description:
 */
@NoArgsConstructor
@Data
public class WriteResponseBean {


    @SerializedName("words_result")
    public List<WordsResultDTO> wordsResult;
    @SerializedName("words_result_num")
    public Integer wordsResultNum;
    @SerializedName("log_id")
    public String logId;

    @NoArgsConstructor
    @Data
    public static class WordsResultDTO {
        @SerializedName("location")
        public LocationDTO location;
        @SerializedName("words")
        public String words;

        @NoArgsConstructor
        @Data
        public static class LocationDTO {
            @SerializedName("top")
            public Integer top;
            @SerializedName("left")
            public Integer left;
            @SerializedName("width")
            public Integer width;
            @SerializedName("height")
            public Integer height;
        }
    }
}
